// 当项目上线代码console.log()信息不显示，可以设置环境变量，在main.js中加入如下代码
// if (process.env.VUE_APP_ENV === 'prod') {
//   console.log = console.warn = console.error = () => {}
// }
import Vue from 'vue'
import 'normalize.css/normalize.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 引入乾坤
import './registerMicroApp.js'
import '@/styles/index.scss' // global css

import App from './App'

import store from './store'

import router from './router'

// 注册svg
import '@/icons'

import '@/directives'
import AuthBtn from '@/components/AuthBtn'

Vue.component('auth-btn', AuthBtn)

Vue.use(ElementUI)

Vue.config.productionTip = false

// vue实例化
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
